projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
443f371
)
Fix build error on macOS 10.6
author
Alan Third
<alan@idiocy.org>
Mon, 29 May 2017 16:01:44 +0000
(17:01 +0100)
committer
Alan Third
<alan@idiocy.org>
Mon, 29 May 2017 16:03:30 +0000
(17:03 +0100)
* src/nsfns.m (compute_tip_xy): Cast NSRect to CGRect and NSPoint to
CGPoint.
src/nsfns.m
patch
|
blob
|
history
diff --git
a/src/nsfns.m
b/src/nsfns.m
index a69e44bb22797a204f414c8e5ec8e5cd2d1a6284..7bac2836fedde7d066d9343984df72c3b494da6a 100644
(file)
--- a/
src/nsfns.m
+++ b/
src/nsfns.m
@@
-2753,7
+2753,7
@@
compute_tip_xy (struct frame *f,
/* Find the screen that pt is on. */
for (screen in [NSScreen screens])
#ifdef NS_IMPL_COCOA
- if (CGRectContainsPoint (
[screen frame],
pt))
+ if (CGRectContainsPoint (
(CGRect)[screen frame], (CGPoint)
pt))
#else
if (pt.x >= screen.frame.origin.x
&& pt.x < screen.frame.origin.x + screen.frame.size.width